package com.keepmoving.vo;

import java.sql.Date;
import java.sql.Timestamp;

/**
 * 课程预约实体类
 * @author gyy
 */
public class CourseOrder {
    /**
     * 课程序号
     */
    private int cId;
    /**
     * 课程名称
     */
    private String cName;
    /**
     * 教练编号
     */
    private int coId;
    /**
     * 俱乐部编号
     */
    private int clId;
    /**
     * 课程费用
     */
    private double cMoney;
    /**
     * 上课日期时间
     */
    private String cDate;
    /**
     * 上课人数
     */
    private int cNumber;
    /**
     * 课程时间
     */
    private String coTime;

    /**
     * 课程图片
     */
    private String cImg;
    /**
     * 课程满员状态
     */
    private String cStatus;
    /**
     * 订单时间
     */
    private Timestamp orderDate;

    /**
     * 订单状态
     */
    private String oStatus;
    /**
     * 主键,订单编号
     */
    private int oId;
    /**
     * 用户名
     */
    private String userName;

    /**
     * 密码
     */
    private String pass;
    /**
     * 性别
     */
    private String sex;
    /**
     * 生日
     */
    private Date birthday;
    /**
     * 爱好
     */
    private String like;
    /**
     * 标识id
     */
    private int lId;
    /**
     * 地址
     */
    private String address;
    /**
     * 电话
     */
    private String tel;
    /**
     * 训练次数
     */
    private int number;

    /**
     * 俱乐部名称
     */
    private String clName;
    /**
     * 俱乐部课程
     */
    private String clCourse;

    /**
     * 俱乐部电话
     */
    private String clTel;

    /**
     * 用户序号
     */
    private int id;

    /**
     * 教练姓名
     */
    private String coName;
    /**
     * 教练技能
     */
    private String skill;


    /**
     * 体能表序号
     */
    private int pId;

    /**
     * 教练教龄
     */
    private int teachingAge;

    /**
     * 教练图片
     */
    private String coachiImg;

    public CourseOrder() {
    }

    public CourseOrder(int cId, String cName, int coId, int clId, double cMoney, String cDate, int cNumber, String coTime, String cImg, String cStatus, Timestamp orderDate, String oStatus, int oId, String userName, String pass, String sex, Date birthday, String like, int lId, String address, String tel, int number, String clName, String clCourse, String clTel, int id, String coName, String skill, int pId, int teachingAge, String coachiImg) {
        this.cId = cId;
        this.cName = cName;
        this.coId = coId;
        this.clId = clId;
        this.cMoney = cMoney;
        this.cDate = cDate;
        this.cNumber = cNumber;
        this.coTime = coTime;
        this.cImg = cImg;
        this.cStatus = cStatus;
        this.orderDate = orderDate;
        this.oStatus = oStatus;
        this.oId = oId;
        this.userName = userName;
        this.pass = pass;
        this.sex = sex;
        this.birthday = birthday;
        this.like = like;
        this.lId = lId;
        this.address = address;
        this.tel = tel;
        this.number = number;
        this.clName = clName;
        this.clCourse = clCourse;
        this.clTel = clTel;
        this.id = id;
        this.coName = coName;
        this.skill = skill;
        this.pId = pId;
        this.teachingAge = teachingAge;
        this.coachiImg = coachiImg;
    }

    public int getcId() {
        return cId;
    }

    public void setcId(int cId) {
        this.cId = cId;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public int getCoId() {
        return coId;
    }

    public void setCoId(int coId) {
        this.coId = coId;
    }

    public int getClId() {
        return clId;
    }

    public void setClId(int clId) {
        this.clId = clId;
    }

    public double getcMoney() {
        return cMoney;
    }

    public void setcMoney(double cMoney) {
        this.cMoney = cMoney;
    }

    public String getcDate() {
        return cDate;
    }

    public void setcDate(String cDate) {
        this.cDate = cDate;
    }

    public int getcNumber() {
        return cNumber;
    }

    public void setcNumber(int cNumber) {
        this.cNumber = cNumber;
    }

    public String getCoTime() {
        return coTime;
    }

    public void setCoTime(String coTime) {
        this.coTime = coTime;
    }

    public String getcImg() {
        return cImg;
    }

    public void setcImg(String cImg) {
        this.cImg = cImg;
    }

    public String getcStatus() {
        return cStatus;
    }

    public void setcStatus(String cStatus) {
        this.cStatus = cStatus;
    }

    public Timestamp getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Timestamp orderDate) {
        this.orderDate = orderDate;
    }

    public String getoStatus() {
        return oStatus;
    }

    public void setoStatus(String oStatus) {
        this.oStatus = oStatus;
    }

    public int getoId() {
        return oId;
    }

    public void setoId(int oId) {
        this.oId = oId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getLike() {
        return like;
    }

    public void setLike(String like) {
        this.like = like;
    }

    public int getlId() {
        return lId;
    }

    public void setlId(int lId) {
        this.lId = lId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getClName() {
        return clName;
    }

    public void setClName(String clName) {
        this.clName = clName;
    }

    public String getClCourse() {
        return clCourse;
    }

    public void setClCourse(String clCourse) {
        this.clCourse = clCourse;
    }

    public String getClTel() {
        return clTel;
    }

    public void setClTel(String clTel) {
        this.clTel = clTel;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCoName() {
        return coName;
    }

    public void setCoName(String coName) {
        this.coName = coName;
    }

    public String getSkill() {
        return skill;
    }

    public void setSkill(String skill) {
        this.skill = skill;
    }

    public int getpId() {
        return pId;
    }

    public void setpId(int pId) {
        this.pId = pId;
    }

    public int getTeachingAge() {
        return teachingAge;
    }

    public void setTeachingAge(int teachingAge) {
        this.teachingAge = teachingAge;
    }

    public String getCoachiImg() {
        return coachiImg;
    }

    public void setCoachiImg(String coachiImg) {
        this.coachiImg = coachiImg;
    }

    @Override
    public String toString() {
        return "CourseOrder{" +
                "cId=" + cId +
                ", cName='" + cName + '\'' +
                ", coId=" + coId +
                ", clId=" + clId +
                ", cMoney=" + cMoney +
                ", cDate='" + cDate + '\'' +
                ", cNumber=" + cNumber +
                ", coTime='" + coTime + '\'' +
                ", cImg='" + cImg + '\'' +
                ", cStatus='" + cStatus + '\'' +
                ", orderDate=" + orderDate +
                ", oStatus='" + oStatus + '\'' +
                ", oId=" + oId +
                ", userName='" + userName + '\'' +
                ", pass='" + pass + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday=" + birthday +
                ", like='" + like + '\'' +
                ", lId=" + lId +
                ", address='" + address + '\'' +
                ", tel='" + tel + '\'' +
                ", number=" + number +
                ", clName='" + clName + '\'' +
                ", clCourse='" + clCourse + '\'' +
                ", clTel='" + clTel + '\'' +
                ", id=" + id +
                ", coName='" + coName + '\'' +
                ", skill='" + skill + '\'' +
                ", pId=" + pId +
                ", teachingAge=" + teachingAge +
                ", coachiImg='" + coachiImg + '\'' +
                '}';
    }
}
